Performs buffer-to-buffer JPEG or LEAD CMP compression.
public void compress(byte data[], int dataIndex)
function Leadtools.Codecs.RasterCodecs.Compress(Byte[],Int32)(
data ,
dataIndex
)
data
Array of bytes that holds the data to be compressed.
dataIndex
Index into data where the data starts.
You must call StartCompress before using this method, and you must call StopCompress to end the compression process. For a description of how these methods work together, refer to StartCompress.
For an example, refer to StartCompress.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET